package com.cc.dao.Impl;

import com.cc.dao.WantDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository
public class WantDaoImpl implements WantDao {

    @Value("${name}")
    private String name;
    @Value("${car}")
    private String car;
    @Value("${home}")
    private String address;
    @Value("${data}")
    private String data;


    @Override
    public void ShowUser() {
        System.out.println("您的名称为:" + name);
        System.out.println("您的车为:" + car);
        System.out.println("您的地址为:" + address);
        System.out.println("您的生日为:" + data);
    }
}
